package com.itheima.service.system;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.Role;

import java.util.List;

/**
 * @program: Web综合案例
 * @author: DingYaDong
 * @create: 2021-06-27 11:25
 */
public interface RoleService {
    PageInfo findAll(int page, int size);
    List<Role> findAll();
    Role findById(String id);
    int delete(String id);
    int save(Role role);
    int update(Role role);

    void updateRoleModule(String roleId, String moduleIds);
}
